<script setup>
import iphoneView from './components/iphone.vue'
import pcView from './components/pc.vue'

import { ref } from 'vue'
import { isMobile } from '@/utils/index.js'

const platform = ref(isMobile())
</script>
<template>
  <iphoneView v-if="platform"></iphoneView>
  <pcView v-else></pcView>
</template>

<style>
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
</style>
